﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebStudio.Business.Entity
{
    ///<summary>
    /// An object representation of the 'UserTB' table. [No description for this table in the database]	
    ///</summary>
    /// <remarks>
    /// </remarks>
    [Serializable]
    public class UserEntity
    {
        ///<summary>
        /// Initializes a new instance of the <see cref="MessageTB"/> class.
        ///</summary>
        public UserEntity()
        {
        }
        /// <summary>
        /// UserId
        /// </summary>
        public Int32 UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public String UserName { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// email
        /// </summary>
        public String Email { get; set; }

        /// <summary>
        /// sex：0代表男 1代表女
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// description
        /// </summary>
        public String Description { get; set; }

        /// <summary>
        ///password 
        /// </summary>
        public String Password { get; set; }

        /// <summary>
        /// 是否是管理员
        /// </summary>
        public Int32 IsAdmin { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CrtTime { get; set; }

        /// <summary>
        /// 上次登录时间
        /// </summary>
        public DateTime LastLogTime { get; set; }

        /// <summary>
        /// 上次登录ip
        /// </summary>
        public String LastLogIp { get; set; }

        /// <summary>
        /// 密码问题
        /// </summary>
        public String PwdQuestion { get; set; }

        /// <summary>
        /// 密码问题的回答
        /// </summary>
        public String PwdAnswer { get; set; }
    }
}
